package com.wkb.design.createModing.factory;

import com.wkb.design.createModing.factory.itf.ISwordFactory;
import com.wkb.design.createModing.factory.model.AbstractSword;

/**  
 * @author wkb 
 * @version 创建时间：2013-6-13 上午9:34:51  
 * 类说明
 */
public class MainApp {

	public static void main(String[] args) {
		
		//曹操得到宝刀工厂
		ISwordFactory qixiSwordFactory = new Caocao();
		//得到宝刀
		AbstractSword sword = qixiSwordFactory.createSword();
		
		System.out.println("曹操利用" + sword.getSwordName() + "刺杀动作");
		
		
		
	}
	
}
